<template>
	<div class="my-product">
		<h3>标题：{{ obj[index].title }}</h3>
		<p>价格：{{ obj[index].price }}元</p>
		<p>描述：{{ obj[index].info }}</p>
		<p>
			<button @click="obj[index].price--">砍一刀</button>
		</p>
	</div>
</template>

<script>
export default {
	props: ["obj","index"],
	data() {
		return {};
	},
};
</script>

<style scoped>
</style>